package com.xyht.medicine_management_system.modules.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 应用列表
 * </p>
 *
 * @author XYHT
 * @since 2023-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("mms_application")
@ApiModel(value="MmsApplication对象", description="应用列表")
public class MmsApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "应用界面前端路径")
    private String appPath;

    private String appName;

    @ApiModelProperty(value = "客户端标志  1：小程序  2：一站式服务大厅  3：后台管理  4：大数据大屏")
    private Integer appClient;

    @ApiModelProperty(value = "应用类别")
    private String appType;

    private String appDescription;

    private String appIcon;

    @ApiModelProperty(value = "应用上架下架  0：下架   1：上架")
    private Integer upDown;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "是否删除：0：未删除 1：已删除")
    @TableLogic
    private Integer isDeleted;


}
